package exceptions;

public class NotLeaderException extends Exception {

    /**
     * This exception is thrown if a client invocates leader specific methods on
     * a non-leader client. Such as the join group request.
     */
    private static final long serialVersionUID = -4599986059983551850L;

    public NotLeaderException() {
    }

    public NotLeaderException(final String error) {
        super(error);
    }
}
